﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace GameHighlights
{
    public class Circle
    {
        int _x, _y, _width, _height, _number;
        SolidBrush _circleBrush;
        Panel _thisPanel;

        public int X
        {
            get { return _x; }
            set { if (value > 0) _x = value; }
        }

        public int Y
        {
            get { return _y; }
            set { if (value > 0) _y = value; }
        }

        public int Width
        {
            get { return _width; }
            set { _width = value; }
        }

        public int Height
        {
            get { return _height; }
            set { _height = value; }
        }

        public Panel ThisPanel
        {
            get { return _thisPanel; }
            set { _thisPanel = value; }
        }

        public SolidBrush CircleBrush
        {
            get { return _circleBrush; }
            set { _circleBrush = value; }
        }

        public int Number
        {
            get { return _number; }
            set { _number = value; }
        }

        public Circle()
        {
        }

        public Circle(int x, int y, int width, int height, SolidBrush cirlceBrush, Panel thisPanel, int number)
        {
            _x = x; _y = y; _width = width; _height = height; _circleBrush = cirlceBrush; _thisPanel = thisPanel;
            _number = number;
        }
    }
}
